home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1998 May / PCPlus May 1998=disk A.iso / full / CBUILDER / SAMS / SAMPLES / CHAP05 / PMEMAIN.CPP next >
Encoding:
C/C++ Source or Header  |  1997-02-12  |  687 b   |  20 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4.  
  5. #include "PMEmain.h"
  6. //---------------------------------------------------------------------------
  7. #pragma resource "*.dfm"
  8. TPMEForm *PMEForm;
  9. //---------------------------------------------------------------------------
  10. __fastcall TPMEForm::TPMEForm(TComponent* Owner)
  11.   : TForm(Owner)
  12. {
  13. }
  14. //---------------------------------------------------------------------------
  15. void __fastcall TPMEForm::ButtonClick(TObject *Sender)
  16. {
  17.   if (Sender == Hide) Memo->Hide();
  18.   else Memo->Show();
  19. }
  20. //---------------------------------------------------------------------